<template>
  <div>我是测试2<v-btn @click="changeModal">切换dasdsa</v-btn></div>
</template>

<script lang="ts" setup>
import test from './test.vue'
const shareStore = useShareStore()
const changeModal = () => {
  console.log('我是test2');
  shareStore.openModal(test, {
    title: '我是test1',
    cardAttr: {
    }
  })
}
</script>
